home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
octa209s.zip
/
octave-2.09
/
libs
/
f2c
/
libf77
/
signal_.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-06
|
346b
|
20 lines
#include "f2c.h"
#ifdef KR_headers
typedef int (*sig_type)();
extern sig_type signal();
ftnint signal_(sigp, proc) integer *sigp; sig_type proc;
#else
#include "signal.h"
typedef void (*sig_type)(int);
ftnint signal_(integer *sigp, sig_type proc)
#endif
{
int sig;
sig = (int)*sigp;
return (ftnint)signal(sig, proc);
}